/*
 * @Author: ZhanXie
 * @Date: 2020-05-19 16:46:37
 * @LastEditors: ZhanXie
 * @LastEditTime: 2020-05-19 17:06:12
 * @Description:
 * @FilePath: /webpack-cli/src/sagas/index.js
 */
// saga 模块化引入
import { all, fork } from 'redux-saga/effects';

import { watchCount } from './countSaga';

// 单一进入点，一次启动所有 Saga
export default function* rootSaga() {
  yield all([
    fork(watchCount),
  ]);
}
